package com.pattern.deno.decorator;

import com.pattern.deno.component.Beverage;

/**
 * @ClassName: CondimentDecorator
 * @Description:    调料装饰类
 * @Date: 2020/8/28 14:06
 * @Author: Song JinGen
 */
public abstract class CondimentDecorator extends Beverage {
    public Beverage beverage;

    public CondimentDecorator(Beverage beverage){
        this.beverage = beverage;
    }
    /**
     * 所有调料装饰着都必须实现这个抽象方法
     * @return
     */
    @Override
    public abstract String getDescription();
}
